package org.example.api;


import org.example.model.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("service-provider")
public interface UserServiceFeign {

    @GetMapping("/getUsers")
    List<User> getUsers();

}
